package com.stylefeng.guns.modular.pic.dao;

import com.stylefeng.guns.modular.pic.model.Pic;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yyi
 * @since 2018-09-28
 */
public interface PicMapper extends BaseMapper<Pic> {
    //初始化数据库默认选取最新的图片(参数：种类，数量)
    List<Pic> getPicByTypeNum(int type,int num);

}
